<?php
namespace Proyecto\MainBundle\Entity;

abstract class ElementoConEstilo {
	public $valor;
	public $orden;
	public $estilo;
	public $id;

	function __construct($val,$ord,$est,$id){
		
		$this->valor=$val;
		$this->orden=$ord;
		$this->estilo=$est;
		$this->id=$id;
	}
	abstract public function esLabel();
	
	abstract public function esItem();
	
	abstract public function esSeparador();
	
	public function getId(){
		return $this->id;
	}
	public function getOrden(){
		return $this->orden;
	}
	public function getValor(){
		return $this->valor;
	}
	public function getEstilo(){
		return $this->estilo;
	}
	public function setId($valor){
		$this->id=$valor;
	}
	public function setValor($valor){
		$this->valor=$valor;
	}
	public function setOrden($valor){
		$this->orden=$valor;
	}
	public function setEstilo($valor){
		$this->estilo=$valor;
	}
	
}
?>